package com.egao.common.module.cms.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author dl
 */
@ApiModel(description = "选调专栏")
@Data
public class SelectedColumnVO implements Serializable {

    private static final long serialVersionUID = 390040704665209575L;
    /**
     * 编号
     */

    @ApiModelProperty("主键")
    private Integer id;
    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;
    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private Object content;

    @ApiModelProperty("点击量")
    private Integer hits;
    /**
     * 添加时间
     */
    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
}
